package com.ygqh.baby.model;

import com.ygqh.baby.ao.PromotionType;

import java.math.BigDecimal;

/**
 * 〈促销类 暂时用于订单明细promotionRemark 字段 存josn字符串〉
 *
 * @author guohao
 * @date 2019/5/7 10:52
 * @since 1.0.0
 */
public class PromotionBo {
    private Long id;
    private PromotionType type;

    /**
     * 是否为特例品
     */
    private Boolean special;

    /**
     * 该明细特例品金额 （不可用优惠券总金额）
     */
    private BigDecimal specialPrice;

    /**
     * 自选包，多买多则促销规则 商品数量
     */
    private Integer buyCount;

    /**
     * 自选包
     * <p>
     * packAmount : 该明细参与自选包的数量
     */
    private Long packAmount;
    private BigDecimal packPrice;
    private Boolean useCoupon;
    private Boolean cumulative;

    /**
     * 多买多则
     */

    private BigDecimal disCount;

    /**
     * 满赠 多买多则 限制金额
     */
    private BigDecimal limitPrice;


    public BigDecimal getSpecialPrice() {
        return specialPrice;
    }

    public void setSpecialPrice(BigDecimal specialPrice) {
        this.specialPrice = specialPrice;
    }

    public BigDecimal getLimitPrice() {
        return limitPrice;
    }

    public void setLimitPrice(BigDecimal limitPrice) {
        this.limitPrice = limitPrice;
    }

    public Boolean getSpecial() {
        return special;
    }

    public void setSpecial(Boolean special) {
        this.special = special;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public PromotionType getType() {
        return type;
    }

    public void setType(PromotionType type) {
        this.type = type;
    }

    public Long getPackAmount() {
        return packAmount;
    }

    public void setPackAmount(Long packAmount) {
        this.packAmount = packAmount;
    }

    public BigDecimal getPackPrice() {
        return packPrice;
    }

    public void setPackPrice(BigDecimal packPrice) {
        this.packPrice = packPrice;
    }

    public Boolean getUseCoupon() {
        return useCoupon;
    }

    public void setUseCoupon(Boolean useCoupon) {
        this.useCoupon = useCoupon;
    }

    public Boolean getCumulative() {
        return cumulative;
    }

    public void setCumulative(Boolean cumulative) {
        this.cumulative = cumulative;
    }

    public Integer getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }

    public BigDecimal getDisCount() {
        return disCount;
    }

    public void setDisCount(BigDecimal disCount) {
        this.disCount = disCount;
    }
}
